Ext.define("SHApp.Sys.Function.Form", {
	extend:"BLBTSystem.Form", 
	submitUrl: "api/function?format=json",
    winWidth: 615,
    winHeight: 435,
    items: [{
		width: 300,
        border: false,
	    items: [{ 
			xtype: "textfield", 
			fieldLabel: "ID", 
			name: "Id", 
			hidden:true 
        },{
			fieldLabel:"名称<span style='color:red'>*</span>",
		    xtype: "textfield", 
	        fieldLabel: "名称", 
	        name: "Name",
	        maxLength: 50  
		},{
	        fieldLabel:"链接地址<span style='color:red'>*</span>",
		    xtype: "textfield", 
		    fieldLabel: "链接地址", 
		    name: "Url",
		    maxLength: 50  
		},{
	        fieldLabel:"权限<span style='color:red'>*</span>",
		    xtype: "textfield", 
		    fieldLabel: "权限", 
		    name: "Value",
		    maxLength: 50  
		}]
		},{
	width: 300,
        border: false,
	    items: [{ 
							fieldLabel:"模块ID<span style='color:red'>*</span>",
		 xtype: "textfield", 
		   fieldLabel: "模块ID", 
		   name: "ModuleID",
		   maxLength: 50  
				},{
									fieldLabel: "图标", 
		 xtype: "textfield", 
		   fieldLabel: "图标", 
		   name: "Image",
		   maxLength: 50  
				},{
						}]
	}
	],
	initComponent: function () {
        Ext.apply(this); 
        this.callParent(arguments);
    }
	
})